package com.wwj.study.adapter.pay;

/**
 * @Author: wuweijun
 * @Date: 2018/11/24 20:43
 */
public class WeiXinAdapter implements IPay{

    private WeiXin weiXin;

    public WeiXinAdapter(WeiXin weiXin) {
        this.weiXin = weiXin;
    }

    @Override
    public void toPay() {
        weiXin.init();
        weiXin.toPay();
    }
}
